

local Element = import("./Element.lua");
local Div = import("./Div.lua");
local Text = import("./Text.lua");
local Input = import("./Input.lua");
local TextArea = import("./TextArea.lua");
local Select = import("./Select.lua");
local Button = import("./Button.lua");
local CheckBox = import("./CheckBox.lua");
local Radio = import("./Radio.lua");
local Image = import("./Image.lua");
local Template = import("./Template.lua");
local Script = import("./Script.lua");
local Style = import("./Style.lua");

-- local Blockly = import("./Blockly/Blockly.lua");

commonlib.RegisterElementClass("element", Element);
commonlib.RegisterElementClass("div", Div);
commonlib.RegisterElementClass("text", Text);
commonlib.RegisterElementClass("input", Input);
commonlib.RegisterElementClass("textarea", TextArea);
commonlib.RegisterElementClass("select", Select);
commonlib.RegisterElementClass("button", Button);
commonlib.RegisterElementClass("checkbox", CheckBox);
commonlib.RegisterElementClass("radio", Radio);
commonlib.RegisterElementClass("image", Image);
commonlib.RegisterElementClass("template", Template);
commonlib.RegisterElementClass("script", Script);
commonlib.RegisterElementClass("style", Style);

-- Element:RegisterElementClass("blockly", Blockly);
return {
    Element = Element,
    Div = Div,
    Text = Text,
    Input = Input,
    TextArea = TextArea,
    Select = Select,
    Button = Button,
    CheckBox = CheckBox,
    Radio = Radio,
    Image = Image,
    Template = Template,
    Script = Script,
    Style = Style,
};